<%-- 
    Document   : login
    Created on : Jun 29, 2012, 12:59:15 PM
    Author     : Kyros
--%>

<%@page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>




<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Main page</title>
        <link href="css/Main.css" rel="stylesheet" type="text/css" />
        <link href="css/LogIn.css" rel="stylesheet" type="text/css" />
    </head>

    <body>	

        <table width="1000" border="0" align="center">
            <tr>
                <td colspan="3" align="right">
                    <c:url var="login" value="login.jsp"></c:url>
                    <a href="${login}" class="Sign">Sign in</a>
                    <c:url var="register" value="register.jsp"></c:url>
                    <a href="${register}" class="Sign">Sign up</a><br/>
                </td>
            </tr>

            <tr>
                <td><img src="images/logo-job-portal.png" alt="" width="269" height="56" /></td>
                <td colspan="2">
                    <table border="0" id="wrap">
                        <tr id="menu">
                            <td width="100"></td>
                            <td class="shadow"><a href="home.jsp">HomePage</a></td>
                            <td width="10"></td>
                            <td class="shadow"><a href="aboutUs.jsp">About Us</a></td>
                            <td width="10"></td>
                            <td class="shadow"><a href="help.jsp">Help</a></td>
                            <td width="10"></td>
                            <td class="shadow"><a href="register.jsp">Register</a></td>
                            <td width="10"></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="3" align="center"><img src="images/bigpicture.jpg" width="1049" height="303" /></td>
            </tr>

            <tr><td colspan="3"><table width="600" border="0" align="center"><tr><td></td><td></td><td></td></tr></table></td></tr>
            <!--<tr>
                  <td colspan="3" align="center">
                  <table width="600" border="0" align="center">
                          <tr>
                          <td id="search" width="78"><label>Search</label></td>
                          <td width="272"><input type="search" name="txtSearch" size="30" placeholder="Input your search here" /></td>
                          <td width="236"><input name="btnSearch" type="button" value="  Search  " /></td>
                      </tr>
                  </table>
              </td>
            </tr>	-->
            <tr>
                <td><img src="images/left.png" width="208" height="975" /></td>
                <td width="800" align="center" valign="top">



                    <!--<div align="center" id="divHeader"></div>
                    <div align="center" id="divBody"> -->
                    <div class="rain">
                        <div class="border start">
                            <form action="Controller" method="POST">
                                <label for="username">Username</label>
                                <input name="username" type="text" placeholder="Username"/>
                                <label for="password">Password</label>
                                <input name="password" type="password" placeholder="Password"/>
                                <input type="submit" name="action" value="Login"/>
                            </form>
                            <c:if test="${requestScope.FLAG == 'invalid'}">
                                Invalid username or password, please try again!!!!!
                            </c:if>
                        </div>
                    </div>

                    <%--ess The System
                        </div>
                        <div align="center" style="font-size: medium;color: blue">
                            <form action="Controller" method="POST">
                                <table id="tableA" width="300px">
                                    <tr>
                                        <td width="100px">Username:</td>
                                        <td><span style="width: 150px;"><input type="text" name="username" value=""/></span></td>
                                    </tr>
                                    <tr>
                                        <td width="100px">Password:</td>
                                        <td><span style="width: 150px;"><input type="password" name="password" value=""/></span></td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            <input type="submit" name="action" value="Login"/>
                                        </td>
                                        <td>
                                            <input type="reset" name="action" value="Reset"/>
                                        </td>
                                    </tr>
                                </table>
                            </form>
                            <c:if test="${requestScope.FLAG == 'invalid'}">
                                Invalid username or password, please try again!!!!!
                            </c:if>
                        </div>
                        </div>  --%>




                </td>
                <td><img src="images/right.png" width="208" height="975" /></td>
            </tr>
        </table>
    </body>
</html>

